function goldilocksZone(mass) {
  const luminosity = Math.pow(mass, 3.5);
  const squareRoot = Math.sqrt(luminosity);
  return [0.95*squareRoot, 1.37*squareRoot].map(elem => Number(elem.toFixed(2)));
}


let output = goldilocksZone(0.5);
console.log(output);